{% extends 'ViettransFrontBundle::layout.html.twig' %}

{% block breadscrumb %}
    {% render 'ViettransFrontBundle:Partial:breadScrumb' with {'request':app.request} %}
{% endblock %}

{% block body %}
<div class="prefix_8 grid_8 suffix_8">
	<div id="user_login" class="panel_bordered">
		<div class="header">Đăng nhập</div>
		<form action="{{ path('user_login') }}" method="post" >
			<table>
				<tr>
					<td class="label">{{form_label(form.email)}}</td>
					<td class="widget">{{form_widget(form.email)}}<div class="error">{{form_errors(form.email)}}</div></td>
				</tr>
				<tr>
					<td class="label">{{form_label(form.password)}}</td>
					<td class="widget">{{form_widget(form.password)}}<div class="error">{{form_errors(form.password)}}</div></td>
				</tr>
				<tr>
					<td class="label"></td>
					<td class="widget"><div class="error">{{form_errors(form)}}</div></td>
				</tr>
				<tr>
					<td colspan="2" align="center"><a href="{{ path('user_forgot_password') }}">Quên mật khẩu ?</a></td>
				</tr>
				<tr>
					<td colspan="2" align="center">{{ form_rest(form) }}
						<button class="button save" type="submit">Đăng nhập</button>
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>
{% endblock %}